import type { InputHTMLAttributes, ReactNode } from 'react';
import type { TEXTINPUT_SIZE_HEIGHT } from './constants';
export type TextInputProps = {
className?: string;
clearable?: boolean;
'data-testid'?: string;
error?: string | boolean;
helper?: ReactNode;
label?: string;
labelDescription?: ReactNode;
loading?: boolean;
minLength?: number;
maxLength?: number;
onRandomize?: () => void;
prefix?: ReactNode;
size?: keyof typeof TEXTINPUT_SIZE_HEIGHT;
success?: string | boolean;
suffix?: ReactNode;
tooltip?: string;
type?: 'text' | 'password' | 'url' | 'email';
value?: string;
defaultValue?: string;
onChangeValue?: (value: string) => void;
} & Pick, 'onFocus' | 'onBlur' | 'name' | 'id' | 'placeholder' | 'aria-label' | 'aria-labelledby' | 'disabled' | 'readOnly' | 'required' | 'autoFocus' | 'tabIndex' | 'autoComplete' | 'onKeyDown' | 'onKeyUp' | 'role' | 'aria-live' | 'aria-atomic' | 'onChange' | 'style' | 'aria-describedby'>;
//# sourceMappingURL=type.d.ts.map